import 'package:flutter_clx_base/flutter_clx_base.dart';

import 'colours.dart';

/// 封装字体样式

class FontStyles {
  static TextStyle get title {
    return const TextStyle(
      fontSize: 17,
      fontWeight: FontWeight.w500,
      color: Colours.text254,
    );
  }

  static TextStyle get subtitle {
    return const TextStyle(
      fontSize: 16,
      fontWeight: FontWeight.w500,
      color: Colours.textC4C,
    );
  }

  static TextStyle get body {
    return const TextStyle(
      fontSize: 15,
      fontWeight: FontWeight.normal,
      color: Colours.text09C,
    );
  }

  // 首页
  static TextStyle get homeTitle {
    return const TextStyle(
      fontSize: 20,
      fontWeight: FontWeight.w600,
      color: Colours.textD3D,
    );
  }

  // 可传入字体大小
  static TextStyle textCustom09c(double fontSize) {
    return TextStyle(
      fontSize: fontSize,
      fontWeight: FontWeight.normal,
      color: Colours.text09C,
    );
  }

  static TextStyle textCustom969(double fontSize) {
    return TextStyle(
      fontSize: fontSize,
      fontWeight: FontWeight.normal,
      color: Colours.text969,
    );
  }
}
